package com.net.xpay.common.domain;

import com.net.common.domain.CommonDomain;
import com.net.xpay.common.enums.config.FunctionModule;
import com.net.xpay.common.enums.config.MethodType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 net
 * @description: 接口操作的记录
net
 * @create: 2020-10-20 15:33
 **/
@Getter
@Setter
@NoArgsConstructor
public class OperationRecord extends CommonDomain {

    @ApiModelProperty(value = "方法操作描述")
    private String methodDesc;

    @ApiModelProperty(value = "用户的id 唯一标识符")
    private Long adminUserId;

    @ApiModelProperty(value = "接口方法的类型 比如insert对于新增")
    private MethodType methodType;

    @ApiModelProperty(value = "接口方法入参")
    private String inParam;

    @ApiModelProperty(value = "接口路由")
    private String interfaceUrl;

    @ApiModelProperty(value = "用户的操作模块")
    private FunctionModule module;

    @ApiModelProperty(value = "用户手机号码")
    private String mobile;

    @ApiModelProperty(value = "用户名")
    private String username;

}
